#include "Analyze.h"
#include "Printer.h"
#include "Reader.h"
#include <iostream>
#include <fstream>
#include <iostream>
#include<stdio.h>
#include<string>
#include<vector>
#include<cmath>
#include <cstring>


using namespace std;

int main(int argc, char *argv[]){
    if(argc!=2){
        printf("Usage: ./FreeEnergy_Libela DAT.dat ");
    }
    else{
    int opt;
    printf("************************  Free-EnergyLibela  **************************\n");
    printf("            Molecular Biotechnology Group- IFSC-USP                    \n");
    printf("                     Choose your option:                       \n");
    printf("1..................................Free Energy, Mean Energy and Entropy\n");
    printf("2................................Convergence of Mean nonCovalent Energy\n");
    printf("3...................................Convergence of Mean Internal Energy\n");
    printf("4...........................Correlatogram(need to choose the dimension)\n");
    printf("Choose your number:");
    cin >> opt;
   switch (opt){
        case 1:
        Analyze* AnaDat = new Analyze(argv[1]);
        cout << argv[1] << endl;
        Printer* Prt = new Printer(argv[1]);
        Prt->AnalyzePrint(AnaDat);



    }


    //Analyze* AL = new Analyze(argv[1]);
    //printf("%10.4Lf", AL->FreeEnergy());
    }










    return 0;
}

